// 首页轮播图

module.exports = (query, request) => {
  // const type =
  //   {
  //     0: 'pc',
  //     1: 'android',
  //     2: 'iphone',
  //     3: 'ipad',
  //   }[query.type || 0] || 'pc'
  // return request(
  //   'POST',
  //   `https://music.163.com/api/v2/banner/get`,
  //   { clientType: type },
  //   { crypto: 'api', proxy: query.proxy, realIP: query.realIP },
  // )
  return new Promise(function(resolve, reject){
    resolve({
      status: 200, // The Http Response Code
      body: {
          "banners": [
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner1.jpg",
              },
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner2.jpg",
              },
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner3.jpg",
              },
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner4.jpg",
              },
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner5.jpg",
              },
              {
                  "imageUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/banner6.jpg",
              }
            ]
      }, // API Response body
    cookie: []
    });
  })
}
